package pl.jtb.ctl.tabory.dao.impl.mybatis.typehandlers;

import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.TypeHandler;

import pl.jtb.ctl.tabory.dao.data.vo.StationVO;

public class StationTH implements TypeHandler<StationVO> {

    @Override
    public void setParameter(PreparedStatement ps, int i, StationVO parameter, JdbcType jdbcType) throws SQLException {
        ps.setLong(i, parameter.getId());
    }

    @Override
    public StationVO getResult(ResultSet rs, String columnName) throws SQLException {
        return null;
    }

    @Override
    public StationVO getResult(CallableStatement cs, int columnIndex) throws SQLException {
        return null;
    }

}
